# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS.  All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
APP_ABI := armeabi armeabi-v7a x86
#Crash in optimized neon code with clang.
#NDK_TOOLCHAIN_VERSION=clang3.1
#Mips temporarily not building
#Below code has no effect as TARGET_ARCH is not defined at this level
#FILE is only parsed one time.
#ifneq ($(TARGET_ARCH),mips)
#	APP_LDFLAGS += -Wl,--icf=safe
#endif

APP_PLATFORM := android-9
APP_CPPFLAGS += \
	-fno-rtti -ffast-math -O3
APP_CFLAGS += \
	-DENABLE_DEBUG=0 \
	-DTUENTI_CUSTOM_BUILD=1 \
	-DLOGGING=0 \
	-fvisibility=hidden \
	-ffunction-sections  \
	-fdata-sections
APP_LDFLAGS += -Wl,--gc-sections
APP_LDFLAGS += -Wl,--icf=safe
APP_STL := stlport_static
APP_OPTIM := release
ENABLE_WEBRTC_TRACE := 0
